<?php

namespace Part09_PrototypeMode\Code5;

class WorkExperience
{
    private $workDate;
    private $company;

    public function getWorkDate()
    {
        return $this->workDate;
    }


    public function getCompany()
    {
        return $this->company;
    }


    public function setWorkDate($workDate)
    {
        $this->workDate = $workDate;
    }


    public function setCompany($company)
    {
        return $this->company = $company;
    }

    public function cloneObj()
    {
        return clone $this;
    }
}